package com.ucode.cgms.mapper;

import com.ucode.model.cgms.CgmsGift;
import com.ucode.springboot.starter.mybatis.core.base.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

/**
 * 礼物Mapper
 * @Author: liliang
 * @Date: 2025/5/9 23:10
 * @Version: 1.0
 */
@Mapper
public interface CgmsGiftMapper extends BaseMapper<CgmsGift, Long> {

    /**
     * 变更状态
     * @param ids
     * @param status
     * @return
     */
    public int updateStatus(@Param("ids") Collection<Long> ids , @Param("status")Integer status);

}
